package com.tencent.dao;

import com.tencent.pojo.Student;

import java.util.List;

public interface StudentDAO {
    public int insertStu(Student student);

    public List<Student> getAll(Integer pageNo);

    public Student getById(Integer id);

    public int updateStu(Student student);

    public int delStu(Integer id);

    public int getCount();

    public int getCount(String keyword);

    public List<Student> getAll(String keyword,Integer pageNo);
}
